package com.msl.debezium.service;

import com.msl.debezium.dto.DebeziumTestDto;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

/**
 * @Description: 消费并记录
 * @Author: kangyaguang
 * @Date: 2021/9/28 11:44
 */
public interface DebeziumTestService {

    DebeziumTestDto findByTableName(String tableName, Date date);

    List<DebeziumTestDto> findAllByDate(Date date);

    void addDebeziumTest(DebeziumTestDto debeziumTestDto);

    void updateDebeziumTest(DebeziumTestDto debeziumTestDto);

}
